package com.infore.siteManagement.entity;

import java.io.Serializable;
import javax.persistence.*;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;


/**
 * The persistent class for the SITE_BASIC_FILE database table.
 * 
 */
@Entity
@Table(name="SITE_BASIC_FILE")
@NamedQuery(name="SiteBasicFile.findAll", query="SELECT s FROM SiteBasicFile s")
public class SiteBasicFile implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="ID")
//	@GeneratedValue(generator = "uuidGenerator")
//	@GenericGenerator(name = "uuidGenerator", strategy = "uuid") // UUID生成策略
	private String id;

	@Column(name="EQUIP_MODEL_ACCESSORY")
	private String equipModelAccessory;

	@Column(name="EQUIP_MODEL_IMAGE")
	private String equipModelImage;

	@Column(name="EQUIP_SAMPLE_QRCODE")
	private String equipSampleQrcode;

	@Column(name="FILE_NAME")
	private String fileName;

	@Column(name="FILE_PATH")
	private String filePath;

	@Column(name="FILLE_TYPE")
	private String filleType;

	@Column(name="STATION_IMAGE")
	private String stationImage;

	@Temporal(TemporalType.DATE)
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	@Column(name="UPLOAD_TIME")
	private Date uploadTime;

	public SiteBasicFile() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEquipModelAccessory() {
		return this.equipModelAccessory;
	}

	public void setEquipModelAccessory(String equipModelAccessory) {
		this.equipModelAccessory = equipModelAccessory;
	}

	public String getEquipModelImage() {
		return this.equipModelImage;
	}

	public void setEquipModelImage(String equipModelImage) {
		this.equipModelImage = equipModelImage;
	}

	public String getEquipSampleQrcode() {
		return this.equipSampleQrcode;
	}

	public void setEquipSampleQrcode(String equipSampleQrcode) {
		this.equipSampleQrcode = equipSampleQrcode;
	}

	public String getFileName() {
		return this.fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFilePath() {
		return this.filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getFilleType() {
		return this.filleType;
	}

	public void setFilleType(String filleType) {
		this.filleType = filleType;
	}

	public String getStationImage() {
		return this.stationImage;
	}

	public void setStationImage(String stationImage) {
		this.stationImage = stationImage;
	}

	public Date getUploadTime() {
		return this.uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}

}